var sign : GameObject;
var view : changeView;
static var cam : int;

function Start()
{	
	// set the variable view to the changeView script found on the Player GameObject
	view = GameObject.Find("pCharacter").GetComponent(changeView);
	
	// set sCamera to that of the startCamera in the changeView Script
	cam = view.startCamera;
}

function FixedUpdate()
{
	// Get an update of which is the active camera in this frame
	cam = view.startCamera;
	
	if(cam == 1)
	{
		// scale, rotate, translate
		sign.transform.localScale.x = 1.5;
		sign.transform.localScale.y = 1.0;
		sign.transform.localScale.z = 0.2;
		
		sign.transform.localRotation.y = 0;
		
		sign.transform.localPosition.x = -4.316196;
		sign.transform.localPosition.y = 1.283672;
		sign.transform.localPosition.z = -15.37451;
	}
	
	if(cam == 2 || cam == 3)
	{
		// scale, rotate, translate
		sign.transform.localScale.x = 1.0;
		sign.transform.localScale.y = 1.0;
		sign.transform.localScale.z = 1.0;
			
		sign.transform.localRotation.y = 0;
		
		sign.transform.localPosition.x = -4.284029;
		sign.transform.localPosition.y = 1.328808;
		sign.transform.localPosition.z = -12.30189;
		

	}
}